package com.atguigu.jxc.service;
import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.PurchaseList;
import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @description
 */
public interface PurchaseListGoodsService {

	ServiceVO save(PurchaseList purchaseList, String purchaseListGoodsStr);

	Map<String, Object> list(@Param("purchaseNumber") String purchaseNumber, @Param("supplierId") Integer supplierId,
	                         @Param("state") Integer state, @Param("sTime") String sTime, @Param("eTime") String eTime);

	Map<String, Object> goodsList(Integer purchaseListId);

	ServiceVO delete(Integer purchaseListId);

	ServiceVO updateState(Integer purchaseListId);

	String count(String sTime, String eTime, Integer goodsTypeId, String codeOrName);
}
